WxPython - displaying the terminal output upto a specific line

visit shbcf.ru